package com.interview.dao;

import com.interview.pojo.Title;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface TitleMapper extends Mapper<Title> {



    //查询全部文章的数量
    @Select("select count(*) from title")
    public int count();





}
